#pragma once
// 任务
#include"Protocol.hpp"
class Task
{
    private:
    int fd_;
    CallBack cb_;
    public:
    Task(){}
    Task(const int fd):fd_(fd){}
    ~Task(){}
    public:
    void operator()()
    {
        cb_(fd_);
    }


};